package test

object Arr {
  def main(args: Array[String]): Unit = {
    var a1:Array[String]=new Array[String](4);
    a1(0)="老姜";
    a1(1)="镍锰开";
    a1(2)="杨旭";
    a1(3)="胡汪洋";
    //a1.addString("22");
    var a2=a1;
    a2(1)="聂梦凯";
    a2.foreach(println)
    println(">>>>>>>>>>>>>>>>>>>>>>>>>>>")
    var a3=Array.range(0,100,5)
    a3.foreach(println)
  }
}
